package a.oschina.observedemo.demo4;

/**
 * &lt;功能详细描述&gt;
 *
 * @author Administrator
 * @version [版本号, 2018/10/23]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class NbaMatcher {
    private String name;
    private GrilObserver mGrilObserver;

    public NbaMatcher(String name, GrilObserver grilObserver) {
        this.name = name;
        this.mGrilObserver = grilObserver;
    }

    public void update() {
        System.out.println(mGrilObserver.getAction() + name + "继续学习");
    }

}
